package com.zhufeng.gateway.db.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.zhufeng.gateway.db.mapper.GatewayMapper;
import com.zhufeng.gateway.db.service.GatewayService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GatewayServiceImpl implements GatewayService {

	@Resource
	private GatewayMapper gatewayMapper;

	@Override
	public List<JSONObject> findRouteList() {
		return gatewayMapper.findRouteList();
	}
}
